<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_XxoCcMN7EeK4tb62FykHkg" targetNamespace="http://activiti.org/bpmn">
  <bpmn2:process id="executionProcess" isExecutable="true">
    <bpmn2:subProcess id="SubProcess_1" name="Sub Process">
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
      <bpmn2:startEvent id="StartEvent_2" name="Start Event">
        <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
      </bpmn2:startEvent>
      <bpmn2:serviceTask id="ServiceTask_1" activiti:class="org.camunda.bpm.pa.service.FailingDelegate" activiti:async="true" name="Service Task">
        <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
        <bpmn2:multiInstanceLoopCharacteristics>
          <bpmn2:loopCardinality xsi:type="bpmn2:tFormalExpression">10</bpmn2:loopCardinality>
        </bpmn2:multiInstanceLoopCharacteristics>
      </bpmn2:serviceTask>
      <bpmn2:sequenceFlow id="SequenceFlow_3" sourceRef="ServiceTask_1" targetRef="ParallelGateway_2"/>
      <bpmn2:endEvent id="EndEvent_1" name="End Event">
        <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
      </bpmn2:endEvent>
      <bpmn2:parallelGateway id="ParallelGateway_1" name="Parallel Gateway">
        <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
        <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
      </bpmn2:parallelGateway>
      <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="StartEvent_2" targetRef="ParallelGateway_1"/>
      <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="ParallelGateway_1" targetRef="ServiceTask_1"/>
      <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="ParallelGateway_1" targetRef="ServiceTask_2"/>
      <bpmn2:serviceTask id="ServiceTask_2" activiti:class="org.camunda.bpm.pa.service.FailingDelegate" activiti:async="true" name="Service Task">
        <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
      </bpmn2:serviceTask>
      <bpmn2:parallelGateway id="ParallelGateway_2" name="Parallel Gateway">
        <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
        <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
      </bpmn2:parallelGateway>
      <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="ParallelGateway_2" targetRef="EndEvent_1"/>
      <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="ServiceTask_2" targetRef="ParallelGateway_2"/>
    </bpmn2:subProcess>
    <bpmn2:endEvent id="EndEvent_2" name="End Event">
      <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_11" sourceRef="SubProcess_1" targetRef="EndEvent_2"/>
    <bpmn2:startEvent id="StartEvent_1" name="Start Event">
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_1" sourceRef="StartEvent_1" targetRef="SubProcess_1"/>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="executionProcess">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="223.0" y="242.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="22.0" width="70.0" x="206.0" y="283.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_2" bpmnElement="SubProcess_1" isExpanded="true">
        <dc:Bounds height="370.0" width="469.0" x="324.0" y="75.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_2" targetElement="_BPMNShape_SubProcess_2">
        <di:waypoint xsi:type="dc:Point" x="259.0" y="260.0"/>
        <di:waypoint xsi:type="dc:Point" x="324.0" y="260.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="284.0" y="260.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_3" bpmnElement="StartEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="384.0" y="243.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="22.0" width="70.0" x="367.0" y="284.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_2" bpmnElement="ServiceTask_1">
        <dc:Bounds height="80.0" width="100.0" x="540.0" y="108.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_19" bpmnElement="EndEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="732.0" y="243.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="22.0" width="65.0" x="718.0" y="284.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ServiceTask_2" targetElement="_BPMNShape_ParallelGateway_3">
        <di:waypoint xsi:type="dc:Point" x="640.0" y="148.0"/>
        <di:waypoint xsi:type="dc:Point" x="673.0" y="148.0"/>
        <di:waypoint xsi:type="dc:Point" x="673.0" y="236.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="665.0" y="148.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_4" bpmnElement="ServiceTask_2">
        <dc:Bounds height="80.0" width="100.0" x="540.0" y="348.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_2" bpmnElement="ParallelGateway_1">
        <dc:Bounds height="50.0" width="50.0" x="456.0" y="236.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="22.0" width="104.0" x="429.0" y="291.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_StartEvent_3" targetElement="_BPMNShape_ParallelGateway_2">
        <di:waypoint xsi:type="dc:Point" x="420.0" y="261.0"/>
        <di:waypoint xsi:type="dc:Point" x="456.0" y="261.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ParallelGateway_2" targetElement="_BPMNShape_ServiceTask_2">
        <di:waypoint xsi:type="dc:Point" x="481.0" y="236.0"/>
        <di:waypoint xsi:type="dc:Point" x="481.0" y="148.0"/>
        <di:waypoint xsi:type="dc:Point" x="540.0" y="148.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_ParallelGateway_2" targetElement="_BPMNShape_ServiceTask_4">
        <di:waypoint xsi:type="dc:Point" x="481.0" y="286.0"/>
        <di:waypoint xsi:type="dc:Point" x="481.0" y="388.0"/>
        <di:waypoint xsi:type="dc:Point" x="540.0" y="388.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="6.0" width="6.0" x="478.0" y="375.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_3" bpmnElement="ParallelGateway_2">
        <dc:Bounds height="50.0" width="50.0" x="648.0" y="236.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="22.0" width="104.0" x="621.0" y="291.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_ParallelGateway_3" targetElement="_BPMNShape_EndEvent_19">
        <di:waypoint xsi:type="dc:Point" x="698.0" y="261.0"/>
        <di:waypoint xsi:type="dc:Point" x="732.0" y="261.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="6.0" width="6.0" x="711.0" y="261.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_ServiceTask_4" targetElement="_BPMNShape_ParallelGateway_3">
        <di:waypoint xsi:type="dc:Point" x="640.0" y="388.0"/>
        <di:waypoint xsi:type="dc:Point" x="644.0" y="388.0"/>
        <di:waypoint xsi:type="dc:Point" x="673.0" y="388.0"/>
        <di:waypoint xsi:type="dc:Point" x="673.0" y="286.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="6.0" width="6.0" x="670.0" y="354.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_20" bpmnElement="EndEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="843.0" y="242.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_SubProcess_2" targetElement="_BPMNShape_EndEvent_20">
        <di:waypoint xsi:type="dc:Point" x="792.0" y="260.0"/>
        <di:waypoint xsi:type="dc:Point" x="843.0" y="260.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>